﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Source
{
    [Table("ProfilesTeams")]
    public class ProfileTeam
    {
        [Key]
        public int Id
        {
            get;
            set;
        }

        [ForeignKey("Team")]
        public int TeamId
        {
            get;
            set;
        }

        public Team Team
        {
            get;
            set;
        }

        [ForeignKey("Profile")]
        public int ProfileId
        {
            get;
            set;
        }

        public Profile Profile
        {
            get;
            set;
        }
    }
}